<div class="sinhviens view">
<h2><?php  __('Sinhvien');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tongiao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($sinhvien['Tongiao']['id'], array('controller' => 'tongiaos', 'action' => 'view', $sinhvien['Tongiao']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Phuongxa'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($sinhvien['Phuongxa']['id'], array('controller' => 'phuongxas', 'action' => 'view', $sinhvien['Phuongxa']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Dantoc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($sinhvien['Dantoc']['id'], array('controller' => 'dantocs', 'action' => 'view', $sinhvien['Dantoc']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hoten'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['hoten']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaysinh'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['ngaysinh']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Noisinh'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['noisinh']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Diachi'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['diachi']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Phai'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['phai']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sodienthoai'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['sodienthoai']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Email'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['email']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayvaodoan'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['ngayvaodoan']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Noivaodoan'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['noivaodoan']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayvaodang'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['ngayvaodang']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Noivaodang'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['noivaodang']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Truongthanhdoan'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['truongthanhdoan']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $sinhvien['Sinhvien']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Sinhvien', true), array('action' => 'edit', $sinhvien['Sinhvien']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Sinhvien', true), array('action' => 'delete', $sinhvien['Sinhvien']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $sinhvien['Sinhvien']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Sinhviens', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Sinhvien', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tongiaos', true), array('controller' => 'tongiaos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tongiao', true), array('controller' => 'tongiaos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phuongxas', true), array('controller' => 'phuongxas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phuongxa', true), array('controller' => 'phuongxas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dantocs', true), array('controller' => 'dantocs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dantoc', true), array('controller' => 'dantocs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chidoansvs', true), array('controller' => 'chidoansvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chidoansv', true), array('controller' => 'chidoansvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chucvusvs', true), array('controller' => 'chucvusvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chucvusv', true), array('controller' => 'chucvusvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Dvutsvs', true), array('controller' => 'dvutsvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Dvutsv', true), array('controller' => 'dvutsvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phanloaisvs', true), array('controller' => 'phanloaisvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phanloaisv', true), array('controller' => 'phanloaisvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Qdketnaps', true), array('controller' => 'qdketnaps', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Qdketnap', true), array('controller' => 'qdketnaps', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Quyetdinhttdoansvs', true), array('controller' => 'quyetdinhttdoansvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Quyetdinhttdoansv', true), array('controller' => 'quyetdinhttdoansvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tgdongdoanphisvs', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tgdongdoanphisv', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thanhtichkhoasvs', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thanhtichkhoasv', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thanhtichsvs', true), array('controller' => 'thanhtichsvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thanhtichsv', true), array('controller' => 'thanhtichsvs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Chucvusvs');?></h3>
	<?php if (!empty($sinhvien['Chucvusv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Chucv Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Ngaybatdau'); ?></th>
		<th><?php __('Ngayketthuc'); ?></th>
		<th><?php __('Ghi Chu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sinhvien['Chucvusv'] as $chucvusv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $chucvusv['id'];?></td>
			<td><?php echo $chucvusv['chucv_id'];?></td>
			<td><?php echo $chucvusv['sinhvien_id'];?></td>
			<td><?php echo $chucvusv['ngaybatdau'];?></td>
			<td><?php echo $chucvusv['ngayketthuc'];?></td>
			<td><?php echo $chucvusv['ghi_chu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'chucvusvs', 'action' => 'view', $chucvusv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'chucvusvs', 'action' => 'edit', $chucvusv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'chucvusvs', 'action' => 'delete', $chucvusv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $chucvusv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Chucvusv', true), array('controller' => 'chucvusvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Dvutsvs');?></h3>
	<?php if (!empty($sinhvien['Dvutsv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Hocky Id'); ?></th>
		<th><?php __('Songuoidongy'); ?></th>
		<th><?php __('Songuoithamgiabau'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sinhvien['Dvutsv'] as $dvutsv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $dvutsv['id'];?></td>
			<td><?php echo $dvutsv['sinhvien_id'];?></td>
			<td><?php echo $dvutsv['hocky_id'];?></td>
			<td><?php echo $dvutsv['songuoidongy'];?></td>
			<td><?php echo $dvutsv['songuoithamgiabau'];?></td>
			<td><?php echo $dvutsv['duyet'];?></td>
			<td><?php echo $dvutsv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'dvutsvs', 'action' => 'view', $dvutsv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'dvutsvs', 'action' => 'edit', $dvutsv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'dvutsvs', 'action' => 'delete', $dvutsv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $dvutsv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Dvutsv', true), array('controller' => 'dvutsvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phanloaisvs');?></h3>
	<?php if (!empty($sinhvien['Phanloaisv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Xeploai Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Hocky Id'); ?></th>
		<th><?php __('Diemrenluyen'); ?></th>
		<th><?php __('Diemtbhk'); ?></th>
		<th><?php __('Thanhtich'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sinhvien['Phanloaisv'] as $phanloaisv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phanloaisv['id'];?></td>
			<td><?php echo $phanloaisv['xeploai_id'];?></td>
			<td><?php echo $phanloaisv['sinhvien_id'];?></td>
			<td><?php echo $phanloaisv['hocky_id'];?></td>
			<td><?php echo $phanloaisv['diemrenluyen'];?></td>
			<td><?php echo $phanloaisv['diemtbhk'];?></td>
			<td><?php echo $phanloaisv['thanhtich'];?></td>
			<td><?php echo $phanloaisv['ghichu'];?></td>
			<td><?php echo $phanloaisv['duyet'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phanloaisvs', 'action' => 'view', $phanloaisv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phanloaisvs', 'action' => 'edit', $phanloaisv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phanloaisvs', 'action' => 'delete', $phanloaisv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phanloaisv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phanloaisv', true), array('controller' => 'phanloaisvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Qdketnaps');?></h3>
	<?php if (!empty($sinhvien['Qdketnap'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Ketnapdv Id'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sinhvien['Qdketnap'] as $qdketnap):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $qdketnap['id'];?></td>
			<td><?php echo $qdketnap['sinhvien_id'];?></td>
			<td><?php echo $qdketnap['ketnapdv_id'];?></td>
			<td><?php echo $qdketnap['duyet'];?></td>
			<td><?php echo $qdketnap['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'qdketnaps', 'action' => 'view', $qdketnap['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'qdketnaps', 'action' => 'edit', $qdketnap['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'qdketnaps', 'action' => 'delete', $qdketnap['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $qdketnap['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Qdketnap', true), array('controller' => 'qdketnaps', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Quyetdinhttdoansvs');?></h3>
	<?php if (!empty($sinhvien['Quyetdinhttdoansv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Ttdoansv Id'); ?></th>
		<th><?php __('Duyet'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sinhvien['Quyetdinhttdoansv'] as $quyetdinhttdoansv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $quyetdinhttdoansv['id'];?></td>
			<td><?php echo $quyetdinhttdoansv['sinhvien_id'];?></td>
			<td><?php echo $quyetdinhttdoansv['ttdoansv_id'];?></td>
			<td><?php echo $quyetdinhttdoansv['duyet'];?></td>
			<td><?php echo $quyetdinhttdoansv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'quyetdinhttdoansvs', 'action' => 'view', $quyetdinhttdoansv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'quyetdinhttdoansvs', 'action' => 'edit', $quyetdinhttdoansv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'quyetdinhttdoansvs', 'action' => 'delete', $quyetdinhttdoansv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $quyetdinhttdoansv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Quyetdinhttdoansv', true), array('controller' => 'quyetdinhttdoansvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Tgdongdoanphisvs');?></h3>
	<?php if (!empty($sinhvien['Tgdongdoanphisv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Thang Id'); ?></th>
		<th><?php __('Ngaydong'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th><?php __('Namhoc Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sinhvien['Tgdongdoanphisv'] as $tgdongdoanphisv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $tgdongdoanphisv['id'];?></td>
			<td><?php echo $tgdongdoanphisv['sinhvien_id'];?></td>
			<td><?php echo $tgdongdoanphisv['thang_id'];?></td>
			<td><?php echo $tgdongdoanphisv['ngaydong'];?></td>
			<td><?php echo $tgdongdoanphisv['ghichu'];?></td>
			<td><?php echo $tgdongdoanphisv['namhoc_id'];?></td>
			<td><?php echo $tgdongdoanphisv['chidoansv_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'view', $tgdongdoanphisv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'edit', $tgdongdoanphisv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'delete', $tgdongdoanphisv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $tgdongdoanphisv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Tgdongdoanphisv', true), array('controller' => 'tgdongdoanphisvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Thanhtichkhoasvs');?></h3>
	<?php if (!empty($sinhvien['Thanhtichkhoasv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Phongtraokhoa Id'); ?></th>
		<th><?php __('Thanhtichkhoasv'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sinhvien['Thanhtichkhoasv'] as $thanhtichkhoasv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $thanhtichkhoasv['id'];?></td>
			<td><?php echo $thanhtichkhoasv['sinhvien_id'];?></td>
			<td><?php echo $thanhtichkhoasv['phongtraokhoa_id'];?></td>
			<td><?php echo $thanhtichkhoasv['thanhtichkhoasv'];?></td>
			<td><?php echo $thanhtichkhoasv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'view', $thanhtichkhoasv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'edit', $thanhtichkhoasv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'delete', $thanhtichkhoasv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $thanhtichkhoasv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Thanhtichkhoasv', true), array('controller' => 'thanhtichkhoasvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Thanhtichsvs');?></h3>
	<?php if (!empty($sinhvien['Thanhtichsv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Sinhvien Id'); ?></th>
		<th><?php __('Phongtraosv Id'); ?></th>
		<th><?php __('Thanhtichsv'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($sinhvien['Thanhtichsv'] as $thanhtichsv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $thanhtichsv['id'];?></td>
			<td><?php echo $thanhtichsv['sinhvien_id'];?></td>
			<td><?php echo $thanhtichsv['phongtraosv_id'];?></td>
			<td><?php echo $thanhtichsv['thanhtichsv'];?></td>
			<td><?php echo $thanhtichsv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'thanhtichsvs', 'action' => 'view', $thanhtichsv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'thanhtichsvs', 'action' => 'edit', $thanhtichsv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'thanhtichsvs', 'action' => 'delete', $thanhtichsv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $thanhtichsv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Thanhtichsv', true), array('controller' => 'thanhtichsvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
